StringScanner.SkipOverAlpha Function
Syntax
Chars_Skipped as N = SkipOverAlpha as n()
Arguments
- Chars_Skipped
The number of characters the offset has been moved.
Description
Skip over a sequence of alphabetic characters. Returns number of characters skipped.
Discussion
The <StringScanner>.SkipOverAlpha() function moves the offset to the next non-alpha character and returns the number of characters that the offset has moved. The offset does not move if it is already pointing to a non-alpha character.
Example
dim scanner as P dim txt as C txt = <<%text% This is wonderful prose written by a technical writer of note. %text% scanner = stringscanner.create(txt) ? scanner.skipoveralpha() = 4 ? scanner.GetToOffset() = "This" ? scanner.getremainder() =is wonderful prose written by a technical writer of note.
See Also